package idz.jsf;

import java.io.Serializable;
import java.sql.Timestamp;

public class User implements Serializable
{
	private static final long serialVersionUID = -7423729080475716219L;
	private String nick;
	private String firstname;
	private String lastname;
	private String email;
	private String password;
	private String description;
	private Timestamp creationdate;
	
	User (String nick, String pass, String fname, String lname, String email, String desc, Timestamp date)
	{
		this.nick = nick;
		this.firstname = fname;
		this.lastname = lname;
		this.password = pass;
		this.email = email;
		this.description = desc;
		this.creationdate = date;
	}
	
	public String getNick() {
		return nick;
	}
	public void setNick(String nick) {
		this.nick = nick;
	}
	public String getFirstname() {
		return firstname;
	}
	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}
	public String getLastname() {
		return lastname;
	}
	public void setLastname(String lastname) {
		this.lastname = lastname;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Timestamp getCreationdate() {
		return creationdate;
	}
	public void setCreationdate(Timestamp creationdate) {
		this.creationdate = creationdate;
	}
}
